package com.linchong.xshop.service.impl;

import com.linchong.xshop.dao.AreaDao;
import com.linchong.xshop.entity.Area;
import com.linchong.xshop.service.AreaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author linchong
 * @desc
 * @email littlexbear@163.com
 * @create 2018-06-07 17:11
 * @CopyRight(C) https://blog.csdn.net/littlexbear
 **/

@Service
public class AreaServiceImpl implements AreaService {

    @Autowired
    private AreaDao areaDao;
    @Override
    public List<Area> getAreaList() {
        return areaDao.queryArea();
    }
}
